<div class="span8">

<div id="heading" class="clearfix">
<h3 class="left">
    <?=$gallery['title']?>
</h3>
</div>

<div class="bs-docs-example">
<?foreach($pictures as $picture){
	$thumb_suffix = '_180x160_exacttop';
	$thumb_name = preg_replace('/(\.[^.]+)$/', sprintf('%s$1', $thumb_suffix), $picture['file_name']);

	?>
						<div class="media">
							<a href="#" class="pull-left"> <img data-src="holder.js/64x64" class="media-object" alt="64x64" style="width: 64px; height: 64px;" src="<? echo(GALLERY_ABS_PATH . $gallery_path . '/' . $thumb_name)?>">
							</a>
							<div class="media-body">
								<h4 class="media-heading"><?=$picture['name']?> <a class="label label-warning" href="<? echo site_url('galleries/delete_picture/' . $picture['id'])?>" id="check_passed"><i class="icon-remove"> </i><?=lang('common.remove')?></a></h4>
								<?=$picture['alt']?>
							</div>
						</div>
<?}?>
</div>
</div>